<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

$this->title = 'Login';
?>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>登陆</title>
    <?=Html::cssFile('@web/css/popuo-box.css')?>
    <?=Html::cssFile('@web/css/style.css')?>
</head>
<body><h1>后台管理系统</h1>
<div class="w3layoutscontaineragileits">
    <h2>登录</h2>

    <?php $form = ActiveForm::begin(['id' => 'login-form']); ?>

    <?= $form->field($model, 'username')->textInput(['autofocus' => true])->label(false) ?>

    <?= $form->field($model, 'password')->passwordInput()->label(false) ?>
    <ul class="agileinfotickwthree">
        <li>
            <input type="checkbox" id="brand1" value="">
            <label for="brand1"><span></span>记住</label>
            <a href="http://v.bootstrapmb.com/2019/6/mm6r5053/#">忘记密码?</a>
        </li>
    </ul>
    <div class="aitssendbuttonw3ls">
        <input type="submit" value="登录">
    </div>
    <?php ActiveForm::end(); ?>
</div>
<div class="w3footeragile"><p>© 2019 All Rights Reserved | Design by Q</p></div>
<?=Html::jsFile('@web/js/jquery-2.1.4.min.js')?>
<?=Html::jsFile('@web/js/jquery.magnific-popup.js')?>
<!--//pop-up-box-js-file -->
<script>
    $(document).ready(function () {
        $('.w3_play_icon,.w3_play_icon1,.w3_play_icon2').magnificPopup({
            type: 'inline',
            fixedContentPos: false,
            fixedBgPos: true,
            overflowY: 'auto',
            closeBtnInside: true,
            preloader: false,
            midClick: true,
            removalDelay: 300,
            mainClass: 'my-mfp-zoom-in'
        });
    });
</script>
</body>
</html>